#include <ctype.h> 
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include "../common/include/commondef.h"

int UrlEncode(IN char * pcBufferIn,IN int iLenIn,OUT char * pcBufferOut,IN OUT int &iLenOut);//
//将pcBufferIn按URL编码输出到pcBufferOut。pcBufferOut以0结束。piLenOut指定pcBufferOut的最大长度，函数返回时piLenOut被设置为pcBufferOut的实际长度(不含0结束)。

int UrlDecode(IN char * pcBufferIn,IN int iLenIn,OUT char * pcBufferOut,IN OUT int &iLenOut);
//将pcBufferIn按URL编解码输出到pcBufferOut。pcBufferOut以0结束。piLenOut指定pcBufferOut的最大长度，函数返回时piLenOut被设置为pcBufferOut的实际长度(不含0结束)。

